Skip to content

查询申请单状态-使用业务单号

使用业务单号查询申请单状态

请求参数类型描述
out_request_nostring业务申请编号
jsonobject声明请求的JSON数据结构
merchant_codestring微信支付商户号
php
$instance->v3->mchalterapply->mchsubjectalterapplyment->merchant->_merchant_code_->outRequestNo->_out_request_no_->getAsync([
  'out_request_no' => '1900013511_10000',
  'json' => [
    'merchant_code' => '1900006491',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/mchalterapply/mchsubjectalterapplyment/merchant/{merchant_code}/out-request-no/{out_request_no}')->getAsync([
  'out_request_no' => '1900013511_10000',
  'json' => [
    'merchant_code' => '1900006491',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/mchalterapply/mchsubjectalterapplyment/merchant/{merchant_code}/out-request-no/{out_request_no}']->getAsync([
  'out_request_no' => '1900013511_10000',
  'json' => [
    'merchant_code' => '1900006491',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->mchalterapply->mchsubjectalterapplyment->merchant->_merchant_code_->outRequestNo->_out_request_no_->get([
  'out_request_no' => '1900013511_10000',
  'json' => [
    'merchant_code' => '1900006491',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/mchalterapply/mchsubjectalterapplyment/merchant/{merchant_code}/out-request-no/{out_request_no}')->get([
  'out_request_no' => '1900013511_10000',
  'json' => [
    'merchant_code' => '1900006491',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/mchalterapply/mchsubjectalterapplyment/merchant/{merchant_code}/out-request-no/{out_request_no}']->get([
  'out_request_no' => '1900013511_10000',
  'json' => [
    'merchant_code' => '1900006491',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
merchant_codestring微信支付商户号
apply_idstring申请单号
out_request_nostring业务申请编号
statestring申请单状态
audit_reject_reasonstring总体驳回原因
audit_reject_detailobject[]驳回原因详情
param_namestring参数名称
reject_reasonstring驳回原因

参阅 官方文档

Published on the GitHub by TheNorthMemory